今天主要的安裝目標是將Glance Service 安裝完成,並且註冊一個image
提供之後Nova Service 來做虛擬機器的開設
Step 1. Installing the Image Service
Step 2. Edit the Glance configuration files and paste ini middleware files
[DEFAULT]
rpc_backend = rabbit
rabbit_host = [Controller_IP]
rabbit_password = RABBIT_PASS
[database]
connection = mysql://glance:GLANCE_DBPASS@[Controller_IP]/glance
[keystone_authtoken]
auth_uri = http://[Controller_IP]:5000
auth_host = [Controller_IP]
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = glance
admin_password = GLANCE_PASS
[paste_deploy]
flavor = keystone
[database]
connection = mysql://glance:GLANCE_DBPASS@[Controller_IP]/glance
[keystone_authtoken]
auth_uri = http://[Controller_IP]:5000
auth_host = [Controller_IP]
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = glance
admin_password = GLANCE_PASS
[paste_deploy]
flavor = keystone
CREATE DATABASE glance;
GRANT ALL ON glance.* TO 'glance'@'%' IDENTIFIED BY 'GLANCE_DBPASS';
GRANT ALL ON glance.* TO 'glance'@'localhost' IDENTIFIED BY 'GLANCE_DBPASS';
Step 3. Adding and Verifying the Image Service Installation
Day 27 ending